package com.qiyu.tech.gateway.event;

import org.springframework.context.ApplicationEvent;

/**
 * @Author linhao
 * @Date created in 11:53 上午 2021/3/19
 */

public class InsertNodeEvent extends ApplicationEvent {

    private Long blackListPOId;

    /**
     * Create a new {@code ApplicationEvent}.
     *
     * @param blackListPOId the object on which the event initially occurred or with
     *               which the event is associated (never {@code null})
     */
    public InsertNodeEvent(Long blackListPOId) {
        super(blackListPOId);
        this.blackListPOId = blackListPOId;
        System.out.println("add event insert node success! blackListPo id is "+blackListPOId);
    }

    public Long getBlackListPOId() {
        return blackListPOId;
    }

    public void setBlackListPOId(Long blackListPOId) {
        this.blackListPOId = blackListPOId;
    }
}


